<template>
	<div>
		<div class="h-box mt-10">
			<div class="flex-start">
				<el-image class="mr-10" :src="goBottom" fit="fill" />
				<span>会议议题申报表</span>
			</div>
			<el-button type="primary">增加</el-button>
		</div>
		<el-table
			class="mt-20"
			:data="tableData"
			tooltip-effect="dark"
			stripe
			row-class-name="row-class-name"
			cell-class-name="cell-class-name"
			header-row-class-name="header-row-class-name"
			header-cell-class-name="header-cell-class-name"
			style="width:100%"
			height="250"
		>
			<el-table-column show-overflow-tooltip prop="c00" label="模版名称" />
			<el-table-column show-overflow-tooltip prop="c01" label="项目类型" />
			<el-table-column show-overflow-tooltip prop="c02" label="使用场景" />
			<el-table-column show-overflow-tooltip prop="c03" label="状态" />
			<el-table-column show-overflow-tooltip prop="c04" label="启用时间" />
			<el-table-column show-overflow-tooltip prop="c05" label="创建人" />
			<el-table-column show-overflow-tooltip prop="c06" label="创建机构" />
			<el-table-column show-overflow-tooltip prop="c07" label="创建时间" />
			<el-table-column label="操作" width="200">
				<template slot-scope="scope">
					<el-button type="text" @click="handleEdit(scope.$index, scope.row)">流程管理</el-button>
					<el-button type="text" @click="handleEdit(scope.$index, scope.row)">启用</el-button>
					<el-button type="text" @click="handleEdit(scope.$index, scope.row)">停用</el-button>
				</template>
			</el-table-column>
		</el-table>
	</div>
</template>

<script>
import goBottom from '@/assets/images/go-bottom.png'

//上报政府会议报批事项
export default {
	name      : "t_00_00_00",
	components: {},
	props     : {},
	data() {
		return {
			goBottom,
			//
			multipleSelection: [],
			tableData        : [
				{c00: '模板ABC', c01: '大型项目', c02: '基建', c03: '保存', c04: '2020-08-12', c05: '谭四友', c06: '国家建设局', c07: '2020-08-12'},
			],
		}
	},
	computed  : {},
	watch     : {},
	methods   : {
		handleEdit(index, row) {
			console.log(index, row);
		},
	},
	mounted() {},
}
</script>

<style lang="scss" scoped>
	@import "~@/assets/css/_variables.scss";

	.h-box {
		@include space-between();
		width: 100%;
	}
</style>
